import request from '@/utils/request'
//权益领取
export function receiveBenefit(data) {
    return request({
        url: '/equity/order/createEquityOrder',
        method: 'post',
        data: data
    })
}

//验证码获取
export function getPhoneCode(params) {
    return request({
        url: `/equity/order/sendCaptchaMsg`,
        method: 'get',
        params
    })
}

////根据手机号查询领取记录
export function getReceiveList(query) {
    return request({
        url: `equity/order/listOrderByPhone`,
        method: 'get',
        params: query
    })
}